//
//  LCRegistViewController.m
//  LendCash
//
//  Created by Mac mini on 2018/5/23.
//  Copyright © 2018年 zt. All rights reserved.
//

#import "LCRegistViewController.h"

@interface LCRegistViewController ()
@property (strong, nonatomic) IBOutlet UIView *view1;
@property (strong, nonatomic) IBOutlet UIView *view2;
@property (strong, nonatomic) IBOutlet UIView *view3;
@property (strong, nonatomic) IBOutlet UIButton *submit;
@property (strong, nonatomic) IBOutlet UIButton *agree;
@property (strong, nonatomic) IBOutlet UILabel *article;
@property (strong, nonatomic) IBOutlet UIButton *showArticle;

@end

@implementation LCRegistViewController

-(void)viewDidLayoutSubviews{
    _view1.layer.borderColor=
    _view2.layer.borderColor =
    _view3.layer.borderColor =
    [UIColor lightGrayColor].CGColor;
    _view1.backgroundColor =
    _view2.backgroundColor =
    _view3.backgroundColor =
    [UIColor whiteColor];
    
    if (88!=SafeAreaTopHeight) {
        _view1.frame = CGRectMake(_view1.frame.origin.x, SafeAreaTopHeight+_view1.frame.origin.y, _view1.frame.size.width, _view1.frame.size.height);
        _view2.frame = CGRectMake(_view2.frame.origin.x,SafeAreaTopHeight +_view2.frame.origin.y, _view2.frame.size.width, _view2.frame.size.height);
        _view3.frame = CGRectMake(_view3.frame.origin.x, SafeAreaTopHeight+_view3.frame.origin.y, _view3.frame.size.width, _view3.frame.size.height);
        _submit.frame = CGRectMake(_submit.frame.origin.x, SafeAreaTopHeight+_submit.frame.origin.y, _submit.frame.size.width, _submit.frame.size.height);
        
          _agree.frame = CGRectMake(_agree.frame.origin.x, SafeAreaTopHeight+_agree.frame.origin.y, _agree.frame.size.width, _agree.frame.size.height);
          _article.frame = CGRectMake(_article.frame.origin.x, SafeAreaTopHeight+_article.frame.origin.y, _article.frame.size.width, _article.frame.size.height);
          _showArticle.frame = CGRectMake(_showArticle.frame.origin.x, SafeAreaTopHeight+_showArticle.frame.origin.y, _showArticle.frame.size.width, _showArticle.frame.size.height);
        
    }
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"注册";
}
- (IBAction)getCode:(id)sender {
}
- (IBAction)submit:(id)sender {
    [self.navigationController popViewControllerAnimated:YES];
}
- (IBAction)agreeArticle:(id)sender {
}
- (IBAction)showArticle:(id)sender {
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
